package com.x.provider.api.customer.enums;

import com.x.core.enums.IntegerEnum;

public enum AccountTypeEnum implements IntegerEnum {

    /**
     * 用户名
     */
    USER_NAME(1),

    /**
     * 电话号码
     */
    PHONE(2),

    /**
     * Email
     */
    EMAIL(3),

    ;

    private final Integer value;

    AccountTypeEnum(Integer value){
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
